package com.vue.vuedemo.service.impl;

import com.vue.vuedemo.dao.PersonPlayersMapper;
import com.vue.vuedemo.pojo.Personsplayers;
import com.vue.vuedemo.service.PersonPlayersService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service("PersonPlayersService")
public class PersonPlayersServiceImpl implements PersonPlayersService {

    @Resource
    PersonPlayersMapper personPlayersMapper;

    @Override
    public List<Personsplayers> findShow(Integer pPpId) {
        return personPlayersMapper.findShow(pPpId);
    }

    @Override
    public void addPP(Personsplayers personsplayers) {
        personPlayersMapper.addPP(personsplayers);
    }

    @Override
    public void delPP(Integer ppId) {
        personPlayersMapper.delPP(ppId);
    }

    @Override
    public Personsplayers Ppidshow(Integer ppPid, Integer ppTId) {
        return personPlayersMapper.Ppidshow(ppPid, ppTId);
    }
}
